/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DIPviolation.model;

/**
 *
 * @author Enkosi
 */
public class SuperWorker {
    protected Worker s_worker;

    /**
     * @return the s_worker
     */
    public Worker getS_worker() {
        return s_worker;
    }

    /**
     * @param s_worker the s_worker to set
     */
    public void setS_worker(Worker s_worker) {
        this.s_worker = s_worker;
    }
    
    public int work(){
        return s_worker.rateOfwork();
    }
}
